Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APEX (Asynchronous Program EXecution) design #24127

Closed
wants to merge 8 commits into from

Conversation

aeyakovenko
Copy link
Member

@aeyakovenko aeyakovenko commented Apr 5, 2022

Problem

Fork choice doesn't need to depend on executing of all of the state transitions, and this dependency currently slows down the network when demand spikes.

Summary of Changes

Design proposal that isolates vote program from all the other programs.

Fixes #

tag @carllin @buffalu @jstarry @t-nelson @jackcmay @pgarg66 @sakridge

docs/src/proposals/ape.md Outdated Show resolved Hide resolved
docs/src/proposals/ape.md Outdated Show resolved Hide resolved
docs/src/proposals/ape.md Outdated Show resolved Hide resolved
docs/src/proposals/ape.md Outdated Show resolved Hide resolved
docs/src/proposals/ape.md Outdated Show resolved Hide resolved
Copy link
Contributor

@t-nelson t-nelson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we wrap at ~80char to ease commenting?

@t-nelson
Copy link
Contributor

t-nelson commented Apr 7, 2022

seems like a really invasive way to get to "remove consensus messages from the transaction pipeline"?

EDIT: Which I should clearly state that I am generally in support of! Votes and program TXs have too different of constraints to try to balance in the same execution path

@aeyakovenko
Copy link
Member Author

seems like a really invasive way to get to "remove consensus messages from the transaction pipeline"?

I think this is pretty low overhead. The failing txs that mix domains can be done at the tx processor. And the isolation program accounts are the only ones that can move domains and the only ones that keep track of that state.

@buffalu
Copy link
Contributor

buffalu commented Apr 9, 2022

what reasons would someone need to move domains? it seems like just transferring SOL to vote accounts?

@aeyakovenko
Copy link
Member Author

@t-nelson I think like NONCEs, this might need to be part of System.

@stale
Copy link

stale bot commented Apr 25, 2022

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale [bot only] Added to stale content; results in auto-close after a week. label Apr 25, 2022
@stale stale bot removed the stale [bot only] Added to stale content; results in auto-close after a week. label Apr 30, 2022
@aeyakovenko aeyakovenko changed the title APE (Asynchronous Program Execution) design APEX (Asynchronous Program EXecution) design Jun 5, 2022
@stale
Copy link

stale bot commented Jun 12, 2022

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale [bot only] Added to stale content; results in auto-close after a week. label Jun 12, 2022
@stale
Copy link

stale bot commented Jul 10, 2022

This stale pull request has been automatically closed. Thank you for your contributions.

@stale stale bot closed this Jul 10, 2022
@ryoqun
Copy link
Member

ryoqun commented May 26, 2023

(seems this is superseded by solana-foundation/solana-improvement-documents#45)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale [bot only] Added to stale content; results in auto-close after a week.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants